<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>03-供货商</title>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="screen-orientation" content="portrait">
    <meta name="x5-orientation" content="portrait">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <meta http-equiv="Expires" content="-1">
    <meta http-equiv="Cache-Control" content="no-cache">
    <meta http-equiv="Pragma" content="no-cache">
    <link href="/css/public.css" rel="stylesheet" type="text/css" media="all" />
    <link href="/css/personal.css" rel="stylesheet" type="text/css" media="all" />
    <script src="/js/jquery-2.1.4.min.js"></script>
</head>
<body class="graybody">
<!--搜索-->
<div class="searchdiv">
    <form action="supplies" method="get">
      
        <input type="text" placeholder="商品名称" class="searchtext" name="keywords"/>
        <input type="submit" value="搜索" class="searchsubmit"/>
    </form>
</div>
<!--供货商banner-->
<div class="gonghuoshang">
  <img src="images/ghsbanner.jpg">
</div>
<div class="supplydiv">
    <ul>
    <?php foreach ($msg as $key=>$val){?>
        <li>
            <div class="supplydivli">
                <a href="supplies_content/<?php echo $val->g_id ?>">

                    <div class="supplyimg"><img src="<?php echo $val->g_logo ?>" width="100%"/></div>
                    <h2><?php echo $val->g_name ?></h2>
                    <p>联 系 人：<?php echo $val->g_user ?></p>
                    <p>电    话：<?php echo $val->g_tel ?></p>
                </a>
            </div>
        </li>
        <?php }  ?>
        </ul>
        </div>
        
            
<div class="tagcolumn">
    <ul>
        <li><a href="index"><i class="tagico1"></i><p>首页</p></a></li>
        <li><a href="type"><i class="tagico2"></i><p>分类</p></a></li>
        <li class="cli"><a href="#"><i class="tagico3"></i><p>供货商</p></a></li>
        <li><a href="car"><i class="tagico4"></i><p>购物车</p></a></li>
        <li><a href="user"><i class="tagico5"></i><p>我的</p></a></li>
    </ul>
</div>
</body>
</html>